<template>
  <div>
    <div class="w-full h-screen bg-gray-50 flex items-center justify-center">
      <div class="flex flex-col items-center text-2xl gap-4">
        <img class="w-1/3" src="@/assets/404.png">
        <p class="text-lg">迷路了……可能是当前角色无访问权限，请找管理员授权</p>
        <q-btn  to="/" label="打道回府"  />
      </div>
    </div>
  </div>
</template>

<script setup>
// import { useUserStore } from '@/amtf/stores/use_user_store'
// import { useRouter } from 'vue-router'

defineOptions({
  name: 'Error'
})

// const userStore = useUserStore()
// const router = useRouter()
// const toDashboard = () => {
//   router.push({ name: userStore.主页.value })
// }
</script>
